package com.jhte.scheduleJob.service;

import com.jhte.scheduleJob.entity.QuartzLog;
import com.jhte.scheduleJob.vo.QueQuartzLogRequest;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author wuchun
 * @description
 * @create 2018-01-31 11:42
 */
@Service
public interface QuartzLogService {

    /**
     * 查询定时任务日志
     *
     * @param queQuartzLogRequest
     * @return
     */
    Map<String, Object> queryQuartzLogList(QueQuartzLogRequest queQuartzLogRequest);

    /**
     * 添加任务执行日志
     *
     * @param quartzLog
     */
    int insertQuartzLog(QuartzLog quartzLog);

    /**
     * 修改任务执行日志
     *
     * @param quartzLog
     */
    int updateQuartzLog(QuartzLog quartzLog);

}
